package cn.darkhorse.basic.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.*;

import java.time.LocalDateTime;
import java.util.Date;
import com.ruoyi.common.annotation.Excel;


/**
 * 签名管理对象 qms_sign
 *
 * @author ytq
 * @date 2024-07-18
 */
@TableName("qms_sign")
@Data
@ApiModel(value = "签名", description = "签名管理对象")
public class QmsSign
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(" id")

    private Long id;

    /** 签名名称 */
    @ApiModelProperty(" 签名名称")
    @Excel(name = "签名名称")
    private String signName;

    /** 用户名 */
    @ApiModelProperty(" 用户名")
    @Excel(name = "用户名称")
    private String username;

    /** 部门 */
    @ApiModelProperty(" 部门")
//    @Excel(name = "部门")
    private Long deptId;
    @TableField(exist = false)
    @Excel(name = "所属部门")
    private String deptName;
    /** 工号 */
    @ApiModelProperty(" 工号")
    @Excel(name = "工号")
    private String employeeId;

    /** 签名图片 */
    @ApiModelProperty(" 签名图片")
//    @Excel(name = "签名图片" , cellType = Excel.ColumnType.IMAGE)
    private String signPic;

    /** 签名图片 */
    @ApiModelProperty(" 签名图片")
    @Excel(name = "签名图片" , cellType = Excel.ColumnType.IMAGE,height = 30)
    private String signPicUrl;
    /** 签名密码 */
    @ApiModelProperty(" 签名密码")
    @Excel(name = "签名密码")
    private String signPassword;

    /** 创建时间 */
    @ApiModelProperty(" 创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 创建人 */
    @ApiModelProperty(" 创建人")

    private String createBy;

    /** 创建人id */
    @ApiModelProperty(" 创建人id")

    private Long createById;

    @ApiModelProperty("状态")
    private Integer status;

    @TableField(exist = false)
    private String oldPassword;

}
